package com.code.day09ShuZu;

public class Dome09 {
    public static void main(String[] args) {
          int a  =10;
          int b  =20;
         method(a,b);
        System.out.println(a);
        System.out.println(b);

        int []arr={10,20};
        method(arr);
        System.out.println(arr[0]);
        System.out.println(arr[1]);
    }
    public static  void method(int a,int b){
        a+=10;
        b+=10;
        System.out.println(a);
        System.out.println(b);
    }
    public static  void method(int[]arr){
        arr[0]+=10;
        arr[1]+=20;
        System.out.println("===================");
        System.out.println(arr[0]);
        System.out.println(arr[1]);
    }

}
